package com.yeyks.hotel.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import javax.validation.constraints.NotBlank;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class HotelInfoHotelSearchOrderHotelInfoParam implements Serializable {

    private static final long serialVersionUID = -8018103582501697612L;

    /**
     * 房间id
     */
    @ApiModelProperty(value = "房间id")
    @NotNull(message = "房间id")
    private Integer roomId;

    /**
     * 开始时间
     */
    @ApiModelProperty(value = "开始时间")
    @NotNull(message = "开始时间必填")
    private Date startDate;

    /**
     * 结束时间
     */
    @ApiModelProperty(value = "结束时间")
    @NotNull(message = "结束时间必填")
    private Date endDate;

}
